* {
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100vw;
  height: 100vh;
}

#app {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  overflow-x: auto;
}

.container {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  min-width: 1300px;
}

.container.collapse {
  .header {
    .logo {
      width: 57px;
    }
  }
  .app-menu {
    width: 56px;
    .ant-menu-item {
      padding-left: 15px !important;
      text-overflow: clip;
    }
    i.icon {
      text-overflow: clip;
    }
    .ant-menu-submenu-arrow {
      opacity: 0;
    }
    .ant-menu-submenu-title {
      text-overflow: inherit;
    }
  }
  .app-container {
    width: calc(100% - 56px);
  }
}

.main {
  width: 100%;
  height: calc(100% - 56px);
  display: flex;

  .app-menu {
    width: 200px;
  }
  .app-container {
    width: calc(100% - 240px);
    height: calc(100% - 15px);
    margin-top: 0;
    margin-left: 20px;

    background: var(--colorBgContainer);
    &.full {
      width: calc(100% - 0px);
    }
  }
  .app-body {
    overflow-y: auto;
    height: calc(100% - 46px);
  }
}

.table_info-btn {
  color: #ff9800;
  margin: 0 5px;
  cursor: pointer;
}

.table_edit-btn {
  color: #409eff;
  margin: 0 5px;
  cursor: pointer;
}

.table_del-btn {
  color: #f56c6c;
  margin: 0 5px;
  cursor: pointer;
}

.designer-table {
  .form-contianer {
    display: grid;
    gap: 0 10px;
    grid-template-columns: 1fr 1fr 1fr 20px;
    .sgl {
      grid-column: 1 / 5;
    }
    .sgl2-l {
      grid-column: 1 / 2;
    }
    .sgl2-c {
      grid-column: 2 / 3;
    }
    .sgl2-r {
      grid-column: 3 / 5;
    }
    .sgl4 {
      grid-column: 1 / 4;
    }
  }
}

.drag-move_style {
  border: 1px dashed #ff9800;
  display: flex;
  justify-content: center;
  color: rgba(162, 172, 201, 0.88);
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  border-radius: 3px;
  background-color: #fff;
}

::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: #c7c9cc;
}

@import "../font/iconfont.css";
